home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / Constraint.z / Constraint
Text File  |  1998-10-30  |  7KB  |  133 lines

  1.  
  2.  
  3.  
  4.      CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt - The Constraint widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/Xm.h>
  13.  
  14.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  15.           This page documents Motif 2.1.
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.           Constraint widgets maintain additional state data for each
  19.           child. For example, client-defined constraints on the
  20.           child's geometry may be specified.
  21.  
  22.           When a constrained composite widget defines constraint
  23.           resources, all of that widget's children inherit all of
  24.           those resources as their own. These constraint resources are
  25.           set and read just the same as any other resources defined
  26.           for the child. This resource inheritance extends exactly one
  27.           generation down, which means only the first-generation
  28.           children of a constrained composite widget inherit the
  29.           parent widget's constraint resources.
  30.  
  31.           Because constraint resources are defined by the parent
  32.           widgets and not the children, the child widgets never
  33.           directly use the constraint resource data. Instead, the
  34.           parents use constraint resource data to attach child-
  35.           specific data to children.
  36.  
  37.         CCCCllllaaaasssssssseeeessss
  38.           Constraint inherits behavior and resources from CCCCoooommmmppppoooossssiiiitttteeeeand
  39.           CCCCoooorrrreeee.
  40.  
  41.           The class pointer is _c_o_n_s_t_r_a_i_n_t_W_i_d_g_e_t_C_l_a_s_s.
  42.  
  43.           The class name is CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt.
  44.  
  45.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  46.           Constraint defines no new resources.
  47.  
  48.         IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  49.           Constraint inherits behavior and resources from CCCCoooommmmppppoooossssiiiitttteeee
  50.           and CCCCoooorrrreeee.  The following table defines a set of widget
  51.           resources used by the programmer to specify data. The
  52.           programmer can also set the resource values for the
  53.           inherited classes to set attributes for this widget. To
  54.           reference a resource by name or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss
  55.           file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC prefix and use the remaining
  56.           letters. To specify one of the defined values for a resource
  57.           in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmm prefix and use the
  58.           remaining letters (in either lowercase or uppercase, but
  59.           include any underscores between words).  The codes in the
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
  71.  
  72.  
  73.  
  74.           access column indicate if the given resource can be set at
  75.           creation time (C), set by using XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved
  76.           by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is not applicable (N/A).
  77.  
  78.                                                         CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  79.           NNNNaaaammmmeeee                            CCCCllllaaaassssssss                           TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  80.           XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                CSG
  81.           XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
  82.           XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
  83.           XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  84.           XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
  85.           XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  86.           XmNborderWidth                  XmCBorderWidth                  Dimension        1                      CSG
  87.           XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
  88.           XmNdepth                        XmCDepth                        int              dynamic                CG
  89.           XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
  90.           XmNheight                       XmCHeight                       Dimension        dynamic                CSG
  91.           XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
  92.           XmNmappedWhenManaged            XmCMappedWhenManaged            Boolean          True                   CSG
  93.           XmNscreen                       XmCScreen                       Screen *         dynamic                CG
  94.           XmNsensitive                    XmCSensitive                    Boolean          True                   CSG
  95.           XmNtranslations                 XmCTranslations                 XtTranslations   dynamic                CSG
  96.           XmNwidth                        XmCWidth                        Dimension        dynamic                CSG
  97.           XmNx                            XmCPosition                     Position         0                      CSG
  98.           XmNy                            XmCPosition                     Position         0                      CSG
  99.  
  100.         TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  101.           There are no translations for Constraint.
  102.  
  103.      RRRREEEELLLLAAAATTTTEEEEDDDD
  104.           CCCCoooommmmppppoooossssiiiitttteeee(3) and CCCCoooorrrreeee(3).
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.